package mysql

import (
	"wx-dailydoer/common/storage/mysql"
	ongoingtask "wx-dailydoer/database/mysql/ongoing_task"
	"wx-dailydoer/database/mysql/task"
)

var (
	TaskDao *task.TaskDAO

	OngoingTaskDAO *ongoingtask.OngoingTaskDAO
)

func Init() {
	TaskDao = task.NewTaskDAO(mysql.Cli.DB)

	OngoingTaskDAO = ongoingtask.NewOngoingTaskDAO(mysql.Cli.DB)
}
